package com.scu.bank.service;

import com.github.pagehelper.PageInfo;
import com.scu.bank.model.base.BaseService;
import com.scu.bank.model.pojo.OrgInfo;
import com.scu.bank.model.vo.TreeNode;

import java.util.List;


/**
 * Created by pmeng on 2021/01/05.
 */
public interface OrgInfoService extends BaseService<OrgInfo> {
    PageInfo<OrgInfo> list(Integer page, Integer size);
    void addOrgInfo(String orgName,String orgId);

    TreeNode getTreeByParent(String pId);

    void updateRogInfo(String orgName, String orgId);

    void delete(String id);

    OrgInfo getByOrgCode(String orgCode);
}
